{include file="file:$theme_global/_header.tpl"}

{* the below only works when Magento is set up and connected *}
{* please do not delete - RBJ *}
{*
*}
<h1>{$category.name}</h1>
<ul>
	{foreach from=$subcategories item=subcategory key=index}
		<li>
			<a href="/commerce/catalog/category/id/{$subcategory.category_id}">{$subcategory.name}</a>
		</li>
	{/foreach}
</ul>
<ul>
	{foreach from=$products item=product key=index}
		<li>
			<a href="/commerce/catalog/product/id/{$product.product_id}">{$product.name}</a>
		</li>
	{/foreach}
</ul>

{include file="file:$theme_global/_footer.tpl"}
